package com.heliang.dataaccess.dao;

import java.util.List;

import com.heliang.dataaccess.bean.InfoVersionBean;
import com.hl.component.exception.DaoException;

/**
 * 
 * @ClassName:     InfoVersionDao.java
 * @Description:   资讯版本表
 * 
 * @author         heliang
 * @version        V1.0  
 * @Date           2013-10-6 上午9:05:38
 */
public interface InfoVersionDao {
	/**
	 * 
	 * @Description:  跟据ids查找资讯版本信息
	 * @param:        @param idArrays
	 * @param:        @return    
	 * @return:       List<InfoVersionBean>    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-6 上午9:11:36
	 */
	public List<InfoVersionBean> getInfoVersionBeansByIds(Integer[] idArrays)  throws DaoException;
	
	/**
	 * 
	 * @Description:  根据资讯类别ID查询版本信息
	 * @param:        @param cat_id
	 * @param:        @return    
	 * @return:       InfoVersionBean    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-6 上午9:19:12
	 */
	public InfoVersionBean getInfoVersionBeanById(int cat_id) throws DaoException;
	
	/**
	 * 
	 * @Description:  
	 * @param:        @param infoVersionBean
	 * @param:        @return    
	 * @return:       boolean    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-6 上午9:13:44
	 */
	public boolean updateInfoVersionBean(InfoVersionBean infoVersionBean) throws DaoException;
	
	/**
	 * 
	 * @Description:  根据ID删除资讯
	 * @param:        @param idArray
	 * @param:        @return    
	 * @return:       boolean    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-6 上午9:17:22
	 */
	public boolean deleteInfoVersionBeanByIds(Integer[] idArray) throws DaoException;
	
}
